import pygame


class Config:
    WHITE = pygame.Color(0xFF, 0xFF, 0xFF)
    BLACK = pygame.Color(0x00, 0x00, 0x00)

    RED = pygame.Color(0xFF, 0x00, 0x00)
    RED1 = pygame.Color(0xE7, 0x4C, 0x3C)
    RED2 = pygame.Color(0xC0, 0x39, 0x2B)

    GREEN1 = pygame.Color(0x27, 0xAE, 0x60)
    GREEN2 = pygame.Color(0x16, 0xA0, 0x85)

    BLUE1 = pygame.Color(0x29, 0x80, 0xB9)
    BLUE2 = pygame.Color(0x34, 0x98, 0xDB)

    GRAY1 = pygame.Color(0xEC, 0xF0, 0xF1)
    GRAY2 = pygame.Color(0xBE, 0xBE, 0xBE)

    GLOBAL_FONT = 'pingfang'

    STATUS_BAR_HEIGHT = 20
    STATUS_BAR_TXT_SIZE = 14

    CELL_TXT_SIZE = 18
    CELL_SIZE = 30

    CLIENT_WIDTH = 20  # client width in cells
    CLIENT_HEIGHT = 10  # client height in cells
    MINE_PERCENT = 10  # mine percentage

    LINE_WIDTH = 1
